package com.youhome.mapper;

import com.youhome.model.HotCity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface HotCityMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HotCity record);

    int insertSelective(HotCity record);

    HotCity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotCity record);

    int updateByPrimaryKeyWithBLOBs(HotCity record);

    int updateByPrimaryKey(HotCity record);

    List<HotCity> selectAll();

    List<HotCity> selectByEnabled(HotCity record);

    String selectZipsByEnName(String enName);
}